﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

using IronOne.SalesOne.BusinessObjects;
using IronOne.SalesOne.DataObjects;

namespace Facade
{
    public class AuditFacade
    {
        LinqAudit Audit = new LinqAudit(); 

        [DataObjectMethod(DataObjectMethodType.Select)]
        public List<EventLog> GetEventLogs(int? module, DateTime? from, DateTime? to, string action, string userName, int pageNo)
        {
            return Audit.GetEventLogs(module, from, to, action, userName, pageNo);
        }
    }
}
